package com.team5101.entity;

import com.team5101.utils.MD5;

import java.io.Serializable;

public class User implements Serializable {
    private Integer id;

    private Integer uId;

    private String uPassword;

    private String uTelephone;

    private Integer uSex;

    private String uAlias;

    private String uMail;

    private String uName;

    private String uImg;

    private String vipCode;

    private Double userAccount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    public String getuTelephone() {
        return uTelephone;
    }

    public void setuTelephone(String uTelephone) {
        this.uTelephone = uTelephone;
    }

    public Integer getuSex() {
        return uSex;
    }

    public void setuSex(Integer uSex) {
        this.uSex = uSex;
    }

    public String getuAlias() {
        return uAlias;
    }

    public void setuAlias(String uAlias) {
        this.uAlias = uAlias;
    }

    public String getuMail() {
        return uMail;
    }

    public void setuMail(String uMail) {
        this.uMail = uMail;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuImg() {
        return uImg;
    }

    public void setuImg(String uImg) {
        this.uImg = uImg;
    }

    public String getVipCode() {
        return vipCode;
    }

    public void setVipCode(String vipCode) {
        this.vipCode = vipCode;
    }

    public Double getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(Double userAccount) {
        this.userAccount = userAccount;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", uId=" + uId +
                ", uPassword='" + uPassword + '\'' +
                ", uTelephone='" + uTelephone + '\'' +
                ", uSex=" + uSex +
                ", uAlias='" + uAlias + '\'' +
                ", uMail='" + uMail + '\'' +
                ", uName='" + uName + '\'' +
                ", uImg='" + uImg + '\'' +
                ", vipCode='" + vipCode + '\'' +
                ", userAccount=" + userAccount +
                '}';
    }
}